

@extends('home.public.master')
@section('content')
    <div class="main-container container">
        <ul class="breadcrumb">
            <li><a href="#"><i class="fa fa-home"></i></a></li>
            <li><a href="javascript:;">个人中心</a></li>
            <li><a href="javascript:;">忘记密码</a></li>
        </ul>

        <div class="row">
            <div id="content" class="col-sm-12">
                <h2 class="title">找回密码</h2>
                <p>密码忘记? 您可以通过注册时的邮箱或者手机号码重置密码!</p>
                <form action="{{route('home.login.resetPassword')}}" method="post" enctype="multipart/form-data" class="form-horizontal account-register clearfix">
                    @csrf
                    <fieldset id="account">
                        <legend>填写注册时的信息</legend>
                        <div class="form-group required">
                            <label class="col-sm-2 control-label" for="input-email">账号</label>
                            <div class="col-sm-10">
                                <input type="text" name="account" value="" placeholder="手机或者邮箱" id="input-email" class="form-control">
                            </div>
                        </div>
                    </fieldset>
                    <fieldset>
                        <legend>密码</legend>
                        <div class="form-group required">
                            <label class="col-sm-2 control-label" for="input-password">新密码</label>
                            <div class="col-sm-10">
                                <input type="password" name="password" value="" placeholder="密码" id="input-password" class="form-control">
                            </div>
                        </div>
                        <div class="form-group required">
                            <label class="col-sm-2 control-label" for="input-confirm">确认密码</label>
                            <div class="col-sm-10">
                                <input type="password" name="password_confirmation" value="" placeholder="确认密码" id="input-confirm" class="form-control">
                            </div>
                        </div>
                        {{--</fieldset>--}}
                        {{--<fieldset>--}}
                        {{--<legend>验证码</legend>--}}
                        {{--<div class="form-group required">--}}
                        {{--<label class="col-sm-2 control-label" for="input-confirm">验证码</label>--}}
                        {{--<div class="col-sm-5">--}}
                        {{--<input type="password" name="" value="" placeholder="确认密码" id="input-confirm" class="form-control">--}}
                        {{--</div>--}}
                        {{--<div class="col-sm-5">--}}
                        {{--<button onclick="code()" type="button" class="btn btn-danger btn-min-width btn-glow mr-1 mb-1">发送验证码</button>--}}
                        {{--</div>--}}
                        {{--</div>--}}
                        {{--</fieldset>--}}
                        <div class="buttons">
                            <div class="col-sm-5 ml-5">
                                <button style="background: orangered;color: white;" type="submit" class="btn btn-min-width btn-glow mr-1 mb-1">找回密码</button>
                            </div>
                        </div>
                </form>
            </div>
        </div>
    </div>
@endsection
@push('js')
    <script>
        function code() {
            $.ajax()
        }



    </script>
@endpush
